package abc.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

public enum AccessState implements IEnum<Integer> {
    DECLINED(-1, "拒绝"),
    ALLOW(0, "允许"),
    ;


    private Integer value;
    private String text;

    AccessState(Integer value, String text) {
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    public String getText() {
        return this.text;
    }
}
